package com.wolfpire.notice.service;

import java.util.List;

import com.wolfpire.system.common.Page;
import com.wolfpire.system.common.base.service.IBaseHibernateService;
import com.wolfpire.system.model.Notice;
import com.wolfpire.system.model.Profession;
import com.wolfpire.system.model.User;

/**
 * 专业模块 业务层接口
 * @author xp
 *
 */
public interface NoticeService extends IBaseHibernateService<Notice, Long> {
	

	/**
	 * 获取账户信息
	 * @param account
	 * @return
	 */
	public Notice getByTitle(String title);
	
	/**
	 * 查询用户列表(带分页)
	 * @param page<User> 
	 * @param filterUser
	 * @return
	 */
	public Page<Notice> setPageDataList(Page<Notice> page, Notice filterNotice);
	
	public List<Notice> list(int num);
	
     public Notice findFrontNotice(long id,String type);
	
	 public Notice findNextNoitce(long id,String type);
	 
	 public Notice currentNotice(long id,String type);
	
}
